package com.jwds.digital.bios.business.core.infrastructure.entity.belt;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jwds.tdc.framework.database.lib.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 路线作业实绩主表
 *
 * @author 林柏云
 * @date 2024-11-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("belt_route_task_main")
public class BeltRouteTaskMain extends BaseEntity<Long> {


    /**
    * 路线code
    */
    @TableField("route_code")
    private String routeCode;

    /**
    * 任务id
    */
    @TableField("task_id")
    private Long taskId;

    /**
     * 任务id
     */
    @TableField("flow_no")
    private Short flowNo;

    /**
     * 作业类型
     */
    @TableField("task_type")
    private String taskType;


    /**
    * 实绩开始时间
    */
    @TableField("start_time")
    private LocalDateTime startTime;


    /**
    * 实绩结束时间
    */
    @TableField("end_time")
    private LocalDateTime endTime;


    /**
    * 运行时长
    */
    @TableField("running_time")
    private BigDecimal runningTime;


    /**
    * 负载运行时长
    */
    @TableField("load_running_time")
    private BigDecimal loadRunningTime;


    /**
    * 空载运行时长
    */
    @TableField("un_load_running_time")
    private BigDecimal unLoadRunningTime;


    /**
    * 启动空载运行时长
    */
    @TableField("startup_no_load_duration")
    private BigDecimal startupNoLoadDuration;


    /**
    * 运行空载运行时长
    */
    @TableField("running_no_load_duration")
    private BigDecimal runningNoLoadDuration;


    /**
    * 停止空载运行时长
    */
    @TableField("shutdown_no_load_duration")
    private BigDecimal shutdownNoLoadDuration;


    /**
    * 运行负载运行时长
    */
    @TableField("running_load_duration")
    private BigDecimal runningLoadDuration;


    /**
    * 负载比率
    */
    @TableField("load_ratio")
    private BigDecimal loadRatio;


    /**
    * 运输量
    */
    @TableField("total_transport")
    private BigDecimal totalTransport;


    /**
    * 运输效率（t/h）
    */
    @TableField("transport_efficiency")
    private BigDecimal transportEfficiency;


    /**
    * 平均负载率
    */
    @TableField("avg_all_load_rate")
    private BigDecimal avgAllLoadRate;


    /**
    * 平均负载负载率
    */
    @TableField("avg_load_rate")
    private BigDecimal avgLoadRate;


    /**
    * 平均空载负载率
    */
    @TableField("avg_un_load_rate")
    private BigDecimal avgUnLoadRate;


    /**
    * 总耗电量
    */
    @TableField("total_power_consumption")
    private BigDecimal totalPowerConsumption;


    /**
    * 负载耗电量
    */
    @TableField("load_power_consumption")
    private BigDecimal loadPowerConsumption;


    /**
    * 空载耗电量
    */
    @TableField("un_load_power_consumption")
    private BigDecimal unLoadPowerConsumption;


    /**
    * 负载耗电量占比
    */
    @TableField("load_power_consumption_rate")
    private BigDecimal loadPowerConsumptionRate;


    /**
    * 空载耗电量占比
    */
    @TableField("un_load_power_consumption_rate")
    private BigDecimal unLoadPowerConsumptionRate;


    /**
    * 启动空载运行电耗
    */
    @TableField("startup_no_load_power")
    private BigDecimal startupNoLoadPower;


    /**
    * 运行空载运行电耗
    */
    @TableField("running_no_load_power")
    private BigDecimal runningNoLoadPower;


    /**
    * 停止空载运行电耗
    */
    @TableField("shutdown_no_load_power")
    private BigDecimal shutdownNoLoadPower;


    /**
    * 运行负载运行电耗
    */
    @TableField("running_load_power")
    private BigDecimal runningLoadPower;


    /**
    * 运行效率
    */
    @TableField("work_efficiency")
    private BigDecimal workEfficiency;


    /**
    * 吨料耗电量
    */
    @TableField("ton_power_consumption")
    private BigDecimal tonPowerConsumption;


    /**
    * 负载均衡
    */
    @TableField("load_balance")
    private BigDecimal loadBalance;


    /**
    * 料流均衡
    */
    @TableField("traffic_balance")
    private BigDecimal trafficBalance;


    /**
    * 平均阻力
    */
    @TableField("avg_resistance")
    private BigDecimal avgResistance;


    /**
    * 能耗效率评价
    */
    @TableField("energy_efficiency")
    private String energyEfficiency;


    /**
    * 机械分数
    */
    @TableField("machine_score")
    private Integer machineScore;


    /**
    * 电气分数
    */
    @TableField("electric_score")
    private Integer electricScore;


    /**
    * 五防分数
    */
    @TableField("prevent_score")
    private Integer preventScore;


    /**
    * 尖峰耗电量
    */
    @TableField("spike_power_consumption")
    private BigDecimal spikePowerConsumption;


    /**
    * 峰值耗电量
    */
    @TableField("peak_power_consumption")
    private BigDecimal peakPowerConsumption;


    /**
    * 谷值耗电量
    */
    @TableField("valley_power_consumption")
    private BigDecimal valleyPowerConsumption;

    /**
     * 平值耗电量
     */
    @TableField("flat_power_consumption")
    private BigDecimal flatPowerConsumption;

    /**
    * 第一次料流有料信号时间
    */
    @TableField("first_material_flow_time")
    private LocalDateTime firstMaterialFlowTime;


    /**
    * 最后料流无料信号时间
    */
    @TableField("last_material_flow_time")
    private LocalDateTime lastMaterialFlowTime;


    /**
    * 创建时间
    */
    @TableField("create_time")
    private LocalDateTime createTime;


    /**
    * 更新时间
    */
    @TableField("modify_time")
    private LocalDateTime modifyTime;


    /**
    * 创建人
    */
    @TableField("create_user")
    private String createUser;


    /**
    * 更新人
    */
    @TableField("modify_user")
    private String modifyUser;


    /**
    * 逻辑删除:0-未删除,1-已删除
    */
    @TableField("is_deleted")
    private Integer isDeleted;

}
